package com.hu.hutool.Clone;

import lombok.Data;

import java.io.Serializable;

/**
 * @Author CazCen
 * @Date 2021/10/12 21:45
 */

/**
 * 深克隆: 通过 cn.hutool.core.util.ObjectUtil.cloneByStream(obj) 实现深克隆
 * 对象必须实现Serializable接口
 * 测试用例见 UserCloneByStreamTest
 */
@Data
public class UserCloneByStream implements Serializable {
    private static final long serialVersionUID = 4024823319940455165L;
    private String name = "cazcen";
    private Integer age = 30;


}
